package io.kiki.sba.registry.common.model.dataserver;

import io.kiki.sba.registry.common.model.ClientInterfaceId;
import lombok.Getter;

import java.io.Serializable;
import java.util.Map;


@Getter
public class GetMultiDataRequest implements Serializable {
    private static final long serialVersionUID = 1L;


    private final ClientInterfaceId clientInterfaceId;


    private final int slotId;

    private final String dataInfoId;


    private final String[] acceptEncodes;


    private final Map<String, Long> slotsEpochs;


    private final Map<String, Long> slotLeaderEpochs;

    public GetMultiDataRequest(ClientInterfaceId clientInterfaceId, int slotId, String dataInfoId, String[] acceptEncodes, Map<String, Long> slotsEpochs, Map<String, Long> slotLeaderEpochs) {
        this.clientInterfaceId = clientInterfaceId;
        this.slotId = slotId;
        this.dataInfoId = dataInfoId;
        this.acceptEncodes = acceptEncodes;
        this.slotsEpochs = slotsEpochs;
        this.slotLeaderEpochs = slotLeaderEpochs;
    }

}
